package com.cmpe.av.logic;

import java.sql.*;

public class Connect {

	 public static Connection connect() 
			 throws ClassNotFoundException, 
			 		InstantiationException,
			 		IllegalAccessException, 
			 		SQLException 
	{
	        String url = "jdbc:mysql://titan.cmpe.boun.edu.tr:3306/database6";
	        Class.forName("com.mysql.jdbc.Driver").newInstance();
	        Connection connect = DriverManager.getConnection(url, "project6", "17Souf");
	        return connect;
	}
	 
}
